package com.example.demo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * GoodsPageRequest
 *  订单查看Request
 * @author liujin
 * @date 2020/12/18 13:22
 */
@Data
@ApiModel
public class OrdersPageRequest implements Serializable {


    /**
     * 第几页
     */
    @ApiModelProperty(value = "第几页")
    @Min(0)
    private Integer pageNum = 0;

    /**
     * 每页显示多少条
     */
    @ApiModelProperty(value = "每页显示多少条")
    @Min(1)
    private Integer pageSize = 10;

    @ApiModelProperty("订单编号")
    private String orderSn;
}
